package com.changzhi.common.enums;


/**
 * 娱乐活动类型枚举
 * 
 * @author lxw
 *
 */
public enum ActivityPrizeEnum {

	PUZZLE_ZERO(6, 0, "0~6碎片奖励"),
	PUZZLE_ONE(6,1, "7~12碎片奖励"),
	PUZZLE_TWO(6,2, "宝箱奖励"),
	BOSS_ZERO(7,0,"免费奖励"),
	BOSS_ONE(7,1, "付费奖励"),
	BOSS_TWO(7,2, "最高伤害奖励"),
	BOSS_THREE(7,3, "最后一击奖励"),
	GUARD_ZERO(8,0, "男头像框"),
	GUARD_ONE(8,1, "女头像框"),
	LANTERN_ZERO(9,0, "答题免费礼物"),
	LANTERN_ONE(9,1, "250元宵值头像框"),
	LANTERN_TWO(9,2, "500元宵值气泡框"),
	LANTERN_THREE(9,3, "150元宵值挂件1"),
	LANTERN_FOUR(9,4, "500元宵值挂件2"),
	LANTERN_FIVE(9,5, "1250元宵值挂件3"),
	LANTERN_SIX(9,6, "2750元宵值挂件4"),
	LANTERN_SEVEN(9,7, "5250元宵值挂件5"),
	LANTERN_EIGHT(9,8, "日榜前3座驾"),
	GODDESS_ZERO(10,0, "头像框"),
	GODDESS_ONE(10,1, "座驾"),
	GODDESS_TWO(10,2, "指定礼物"),

	WEEK_STAR_ZERO(11,0, "礼物10钻"),
	WEEK_STAR_ONE(11,1, "礼物100钻"),
	WEEK_STAR_TWO(11,2, "礼物200钻"),
	WEEK_STAR_PRIZE(11,3, "前10名气泡框奖励"),

	WEEK_STAR_MAY_ZERO(12,0, "礼物10钻"),
	WEEK_STAR_MAY_ONE(12,1, "礼物200钻"),
	WEEK_STAR_MAY_TWO(12,2, "礼物520钻"),
	WEEK_STAR_MAY_PRIZE(12,3, "前10名气泡框奖励"),

	SWEET_POINT_ZERO(13,0, "指定1000钻礼物"),
	SWEET_POINT_ONE(13,1, "指定5200钻礼物"),
	SWEET_POINT_TWO(13,2, "指定33440钻礼物"),
	SWEET_TASK_ONE_PENDANT(13,11, "任务1-挂件"),
	SWEET_TASK_TWO_PENDANT(13,12, "任务2-挂件"),
	SWEET_TASK_THREE_PENDANT(13,13, "任务3-挂件"),
	SWEET_TASK_FOUR_PENDANT(13,14, "任务4-挂件"),
	SWEET_TASK_FIVE_PENDANT(13,15, "任务5-挂件"),
	WEEK_STAR_TWO_FRAME(13,22, "任务2-头像框"),
	WEEK_STAR_FOUR_BUBBLE(13,24, "任务4-气泡框"),
	WEEK_STAR_FIVE_CAR(13,25, "任务5-座驾"),


	WEEK_STAR_JUNE_ZERO(14,0, "礼物10钻"),
	WEEK_STAR_JUNE_ONE(14,1, "礼物200钻"),
	WEEK_STAR_JUNE_TWO(14,2, "礼物520钻"),
	WEEK_STAR_JUNE_PRIZE(14,3, "前10名气泡框奖励"),

	CANCER_GIFT_0(15,0, "礼物1-100钻"),
	CANCER_GIFT_1(15,1, "礼物2-1000钻"),
	CANCER_GIFT_2(15,2, "礼物3-10000钻"),
	CANCER_TASK_1_LAMP(15,11, "任务10W-尾灯10天"),
	CANCER_TASK_1_HEAD(15,21, "任务50W-头像框10天"),
	CANCER_TASK_2_LAMP(15,22, "任务50W-尾灯20天"),
	CANCER_TASK_2_BUBBLE(15,31, "任务99W-气泡框10天"),
	CANCER_TASK_2_HEAD(15,32, "任务99W-头像框20天"),
	CANCER_TASK_4_HOME(15,41, "任务200W-主页飘10天"),
	CANCER_TASK_4_BUBBLE(15,42, "任务200W-气泡框20天"),
	CANCER_TASK_5_CAR(15,51, "任务300W-座驾10天"),
	CANCER_TASK_5_HOME(15,52, "任务300W-主页飘20天"),
	CANCER_TASK_6_CAR(15,61, "任务500W-座驾20天"),
	CANCER_TOP1(15,101, "排行榜-TOP1头像框"),
	CANCER_TOP2_3(15,102, "排行榜-TOP2-3头像框"),
	CANCER_TOP4_10(15,103, "排行榜-TOP4-10头像框"),

	LEO_GIFT_0(16,0, "礼物1-100钻"),
	LEO_GIFT_1(16,1, "礼物2-1000钻"),
	LEO_GIFT_2(16,2, "礼物3-10000钻"),
	LEO_TASK_1_LAMP(16,11, "任务10W-尾灯10天"),
	LEO_TASK_1_HEAD(16,21, "任务50W-头像框10天"),
	LEO_TASK_2_LAMP(16,22, "任务50W-尾灯20天"),
	LEO_TASK_2_BUBBLE(16,31, "任务99W-气泡框10天"),
	LEO_TASK_2_HEAD(16,32, "任务99W-头像框20天"),
	LEO_TASK_4_HOME(16,41, "任务200W-主页飘10天"),
	LEO_TASK_4_BUBBLE(16,42, "任务200W-气泡框20天"),
	LEO_TASK_5_CAR(16,51, "任务300W-座驾10天"),
	LEO_TASK_5_HOME(16,52, "任务300W-主页飘20天"),
	LEO_TASK_6_CAR(16,61, "任务500W-座驾20天"),
	LEO_TOP1(16,101, "排行榜-TOP1头像框"),
	LEO_TOP2_3(16,102, "排行榜-TOP2-3头像框"),
	LEO_TOP4_10(16,103, "排行榜-TOP4-10头像框"),

	VIRGO_GIFT_0(17,0, "礼物1-100钻"),
	VIRGO_GIFT_1(17,1, "礼物2-1000钻"),
	VIRGO_GIFT_2(17,2, "礼物3-10000钻"),
	VIRGO_TASK_1_LAMP(17,11, "任务10W-尾灯10天"),
	VIRGO_TASK_1_HEAD(17,21, "任务50W-头像框10天"),
	VIRGO_TASK_2_LAMP(17,22, "任务50W-尾灯20天"),
	VIRGO_TASK_2_BUBBLE(17,31, "任务99W-气泡框10天"),
	VIRGO_TASK_2_HEAD(17,32, "任务99W-头像框20天"),
	VIRGO_TASK_4_HOME(17,41, "任务200W-主页飘10天"),
	VIRGO_TASK_4_BUBBLE(17,42, "任务200W-气泡框20天"),
	VIRGO_TASK_5_CAR(17,51, "任务300W-座驾10天"),
	VIRGO_TASK_5_HOME(17,52, "任务300W-主页飘20天"),
	VIRGO_TASK_6_CAR(17,61, "任务500W-座驾20天"),
	VIRGO_TOP1(17,101, "排行榜-TOP1头像框"),
	VIRGO_TOP2_3(17,102, "排行榜-TOP2-3头像框"),
	VIRGO_TOP4_10(17,103, "排行榜-TOP4-10头像框"),


	WEEK_STAR_JULY_ZERO(27,0, "礼物10钻"),
	WEEK_STAR_JULY_ONE(27,1, "礼物200钻"),
	WEEK_STAR_JULY_TWO(27,2, "礼物520钻"),
	WEEK_STAR_JULY_PRIZE_BUBBLE(27,3, "前10名气泡框奖励"),
	WEEK_STAR_JULY_PRIZE_CAR_1(27,4, "魅力榜一坐骑奖励"),
	WEEK_STAR_JULY_PRIZE_FRAME_1(27,5, "魅力榜一头像框奖励"),
	WEEK_STAR_JULY_PRIZE_CAR_2(27,6, "财富榜一坐骑框奖励"),
	WEEK_STAR_JULY_PRIZE_FRAME_2(27,7, "财富榜一头像框奖励"),

	MATCH_LOW_HEAD(28,0, "基础头像框"),
	MATCH_HEIGHT_HEAD(28,1, "高级头像框"),
	MATCH_CAR(28,2, "座驾"),
	MATCH_FIRST_LABEL(28,10, "冠军标签"),
	MATCH_SECOND_LABEL(28,11, "亚军标签"),
	MATCH_THIRD_LABEL(28,12, "季军标签"),
	MATCH_FOURTH_LABEL(28,13, "八强标签"),

	TANABATA_POINT_ZERO(29,0, "指定100钻礼物"),
	TANABATA_POINT_ONE(29,1, "指定770钻礼物"),
	TANABATA_POINT_TWO(29,2, "指定3000钻礼物"),
	TANABATA_POINT_THREE(29,3, "指定5200钻礼物"),
	TANABATA_POINT_FOUR(29,4, "指定52000钻礼物"),
	TANABATA_TASK_ONE(29,11, "任务1-尾灯"),
	TANABATA_TASK_TWO(29,12, "任务2-头像框"),
	TANABATA_TASK_THREE(29,13, "任务3-气泡框"),
	TANABATA_TASK_FOUR(29,14, "任务4-主页飘"),
	TANABATA_TASK_FIVE(29,15, "任务5-座驾"),
	TANABATA_RANKING_HEAD_1(29,20, "天榜前10-收礼头像框"),
	TANABATA_RANKING_HEAD_2(29,21, "天榜前10-送礼头像框"),
	TANABATA_RANKING_CAR(29,22, "天榜前3-座驾"),




	;

	private Integer activityId;
	private Integer type;
	private String desc;

	ActivityPrizeEnum(Integer activityId, Integer type, String desc) {
		this.activityId = activityId;
		this.type = type;
		this.desc = desc;
	}
	
	public Integer getActivityId() {
		return activityId;
	}

	public Integer getType() {
		return type;
	}

	public String getDesc() {
		return desc;
	}


	public static String getTypeStr(Integer activityId, Integer type) {
		for (ActivityPrizeEnum anEnum : ActivityPrizeEnum.values()) {
			if(anEnum.activityId.equals(activityId) && anEnum.type.equals(type)){
				return anEnum.desc;
			}
		}
		return null;
	}
}

